Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVREnableFrameAnimation

You can use the QTVREnableFrameAnimation function to enable or disable frame animation for an object node.

OSErr QTVREnableFrameAnimation (QTVRInstance qtvr, Boolean enable);
qtvr
An instance of a QuickTime VR movie.
enable
A Boolean value that indicates whether to enable ( true ) or disable ( false ) frame animation for the specified object node.
function result
A result code.

DESCRIPTION

The QTVREnableFrameAnimation function enables or disables the frame animation state for the object node specified by the qtvr parameter, according to the value of the enable parameter.

The current frame rate (as set by the function QTVRSetFrameRate ) is unaffected by the state of frame animation of an object node.

SPECIAL CONSIDERATIONS

QTVREnableFrameAnimation is valid only for object nodes.

You should use QTVREnableFrameAnimation instead of standard QuickTime functions to control object animation.

SEE ALSO

Use QTVRGetFrameAnimation (link) to get the current state of frame animation for an object node.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |